package com.wx.md.exception;

import com.baomidou.mybatisplus.extension.api.IErrorCode;

public class LoginException implements IErrorCode {

    private long code;
    private String msg;

    public LoginException(long code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public long getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
